<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script src="<c:url value="/resources/js/jquery-confirm.js"/>"></script>
<script src="<c:url value="/resources/js/jquery.noty.packaged.js"/>"></script>
<script src="<c:url value="/resources/js/jquery.popup.message.js"/>"></script>
<!-- catch success message from controller -->
<c:if test="${not empty success}">
	<input type="hidden" id="success" value="${success}">
</c:if>
<!-- display popup message -->
<script type="text/javascript">
$(document).ready(function(){
	if(document.getElementById("success")){
	    generate('success', $("#success").attr("value"));
	}
});
</script>